{include file="header.tpl" title="Bao tri PAR_SHSHARETYPE"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="65%" align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="3">
<hr></td>
</tr>
  <tr>
    <td>{$lbl_WUCODE}</td>
    <td colspan="2" style="color:#FF0000"><input name="WUCODE" id="WUCODE" type="text" style="background:{$colorWUCODE}" value="{$WUCODE}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" {if $activefield eq 'enabled' } readonly="readonly" {/if} />
      *      
      <input type="button" onclick="mywindow = window.open('par_wumercid_id.php?name=WUCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MERC_ID}</td>
    <td colspan="2" style="color:#FF0000">
      <input name="MERC_ID" id="MERC_ID" type="text" style="background:{$colorMERC_ID}" value="{$MERC_ID}" size="30" maxlength="50" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" {if $activefield eq 'enabled' } readonly="readonly" {/if}/>
      *
      
      <input type="submit" name="find" value="    " id="replacement_find"/>	</td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MERC_NAME}</td>
    <td style="color:#FF0000" colspan="2" nowrap="nowrap"><input name="MERC_NAME" id="MERC_NAME" type="text" style="background:{$colorMERC_NAME}" value="{$MERC_NAME}" size="50" maxlength="255" />
*</td>
  </tr>
  <tr>
    <td>{$lbl_EFFDATE}</td>
    <td colspan="2"><input name="EFFDATE" type="text" id="EFFDATE" style="background:{$colorEFFDATE}" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" value="{$EFFDATE}" size="25" readonly="readOnly" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_BRNCODE}</td>
    <td colspan="2"><span style="color:#FF0000">
      <input name="BRNCODE" id="BRNCODE" type="text" style="background:{$colorBRNCODE}" value="{$BRNCODE}" size="20" maxlength="10" onkeypress="return numberOnly(event);" />
      <input type="button" onclick="mywindow = window.open('branchcode_id.php?name=BRNCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findACCTNO2" id="replacement_binoculars" value="     " />
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_DEPTCD}</td>
    <td colspan="2"><select id="DEPTCD" name="DEPTCD" size="1">         
 		{foreach from=$cbo_DEPTCD key=k item=v}	          
      <option value="{$k}" {if $DEPTCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}	         
    </select>
    </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_REMARK}</td>
    <td colspan="2"><input name="REMARK" type="text" id="REMARK" style="background:{$colorREMARK}" value="{$REMARK}" size="50" maxlength="255" /></td>
  </tr>   
  
  <tr>
<td colspan="3">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="3" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'WUCODE-MERC_ID');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="3" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="3"><hr></td>
</tr>

<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>

</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
